﻿using NCP.Infrastructure.Common.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using NCP.Recruiting.ApplicationServices.Contracts;

namespace NCP.Recruiting.WebApp.Models
{
    public class ResumeCondtionModel : IResumeCondtionCommand
    {
        public Guid Id { get; set; }
        /// <summary>
        /// 工作经历
        /// </summary>
        public String Description { get; set; }
        /// <summary>
        /// 年龄From
        /// </summary>
        public int? MinAge { get; set; }
        /// <summary>
        /// 年龄To
        /// </summary>
        public int? MaxAge { get; set; }
        public List<SelectListItem> AgeList { get; set; }
        /// <summary>
        /// 工作经验
        /// </summary>
        public int? YearsOfExperience { get; set; }
        public IEnumerable<SelectListItem> YearsOfExperienceList { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int? Gender { get; set; }
        public IEnumerable<Lov> GenderList { get; set; }
        /// <summary>
        /// 专业方向
        /// </summary>
        public int? Major { get; set; }
        public IEnumerable<SelectListItem> MajorList { get; set; }
        /// <summary>
        /// 教育程度
        /// </summary>
        public int? EducationLevel { get; set; }
        public IEnumerable<SelectListItem> EducationLevelList { get; set; }
        /// <summary>
        /// 期望行业
        /// </summary>
        public int? DesiredIndustry { get; set; }
        public IEnumerable<SelectListItem> DesiredIndustryList { get; set; }
        /// <summary>
        /// 期望薪水
        /// </summary>
        public int? DesiredSalary { get; set; }
        public IEnumerable<SelectListItem> DesiredSalaryList { get; set; }
        /// <summary>
        /// 求职性质
        /// </summary>
        public IEnumerable<int> JobTypeList { get; set; }
        public String JobTypeListString { get; set; }
        public IEnumerable<SelectListItem> DesiredJobTypeList { get; set; }
        /// <summary>
        /// 日期刷新范围
        /// </summary>
        public int? DayRange { get; set; }
        public IEnumerable<SelectListItem> DayRangeList { get; set; }
        /// <summary>
        /// 简历编号
        /// </summary>
        public String ReferenceNumber { get; set; }
        /// <summary>
        /// 是否保存为搜索器
        /// </summary>
        public bool IsSaveWhenSearch { get; set; }
        /// <summary>
        /// 搜索器名称
        /// </summary>
        public String SearchName { get; set; }
    }
}